//
// Created by Admin on 2021/9/22.
//

#ifndef PRACTISE8_MY_QUEUE_H
#define PRACTISE8_MY_QUEUE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct Item{
    char * name;
    struct Item * next;
}Item,*pItem;

typedef struct {
    pItem front;
    pItem end;
}Queue,*pQueue;

pQueue make_queue();
void enqueue(pQueue queue,pItem item);
pItem front(pQueue queue);
int dequeue(pQueue queue);
pItem dequeue_k(pQueue queue);
void destroy_queue(pQueue queue);
void print_queue(pQueue queue);

#endif //PRACTISE8_MY_QUEUE_H
